package com.zhoug.zmuidemo.ui;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.zhoug.zmui.round.ZMUIRoundButton;
import com.zhoug.zmui.dialog.MapSdkDialog;
import com.zhoug.zmuidemo.R;

public class MapSdkActivity extends AppCompatActivity {

    private ZMUIRoundButton mBtnMap;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_map_sdk);
        findViews();
        mBtnMap.setOnClickListener(v->{
            MapSdkDialog mapSdkManager=new MapSdkDialog(this);
            mapSdkManager.setTargetName("西政渝北校区");
            mapSdkManager.setTargetAddress("重庆渝北区宝圣大道902号");
            mapSdkManager.show();

        });
    }

    private void findViews() {
        mBtnMap = findViewById(R.id.btn_map);
    }
}